package com.zxw.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.zxw.common.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-02-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ec_role_button")
public class RoleButton extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;


    /**
     * 按钮id
     */
    private Long btnId;

    /**
     * 按钮标识
     */
    private String btnIdentifier;

    /**
     * 菜单id
     */
    private Long menuId;


}
